
import { httpJ } from '../conf/index-json'
import { baseURL} from '../conf/index'
/**
 * @下拉框数据
 */
// 获取菜肴列表
export const getFoodList = (params = {}) => {
  return httpJ.get(`${baseURL}/dish/name_list`, {params}).then(res => res.data)
};
// 获取单位列表
export const getUnitLevelList = (params = {}) => {
  return httpJ.get(`${baseURL}/api/organ/unit_level/list`, {params}).then(res => res.data)
};
 // 获取地区列表
 export const getAreaList = (params = {}) => {
  return httpJ.post(`${baseURL}/api/organ/unit_info/kitchen/area`, (params)).then(res => res.data)
}